<?php

use think\facade\Route;

/* 人脸识别 */
Route::group('tencent/face', function () {
    // 获取人员库信息
    // Route::get('group$',        '@getGroupInfo');
    // 创建人员
    Route::post('person$', 			'@createPerson');
    // 验证人员
    Route::post('person/verify', 	'@verifyPerson');
    // 删除人员
    Route::post('person/delete', 	'@deletePerson');

})->prefix('\app\user\service\user\Face');

/** 后台管理 */
Route::group('admin/face', function () {
    Route::get('list', '@faceList');
})->prefix('\app\user\service\user\admin\Face')->middleware(['adminRoute']);